package com.ruoyi.outcome.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 论文管理跟踪对象 research_paper_track
 * 
 * @author lh
 * @date 2025-01-13
 */
public class ResearchPaperTrack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 跟踪记录唯一ID */
    private Long trackId;

    /** 关联的论文ID */
    @Excel(name = "关联的论文ID")
    private Long paperId;

    /** 操作类型（新增、修改、删除） */
    @Excel(name = "操作类型", readConverterExp = "新=增、修改、删除")
    private String actionType;

    /** 论文标题 */
    @Excel(name = "论文标题")
    private String paperTitle;

    /** 发表期刊名称 */
    @Excel(name = "发表期刊名称")
    private String journalName;

    /** 发表日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发表日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publicationDate;

    /** DOI（数字对象标识符） */
    @Excel(name = "DOI", readConverterExp = "数=字对象标识符")
    private String doi;

    /** 作者列表 */
    @Excel(name = "作者列表")
    private String authores;

    /** 论文摘要 */
    @Excel(name = "论文摘要")
    private String abstracts;

    /** 论文稿件 */
    @Excel(name = "论文稿件")
    private String manuscriptUrl;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    private Date createdAt;

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    /** 更新时间 */
    private Date updatedAt;
    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedAt;

    /** 删除标志（0: 未删除, 1: 已删除） */
    @Excel(name = "删除标志", readConverterExp = "0=:,未=删除,,1=:,已=删除")
    private Integer isDeleted;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    private Long outcomeId;

    private String md5;

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Long getOutcomeId() {
        return outcomeId;
    }

    public void setOutcomeId(Long outcomeId) {
        this.outcomeId = outcomeId;
    }

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trackedAt;

    public void setTrackId(Long trackId) 
    {
        this.trackId = trackId;
    }

    public Long getTrackId() 
    {
        return trackId;
    }
    public void setPaperId(Long paperId) 
    {
        this.paperId = paperId;
    }

    public Long getPaperId() 
    {
        return paperId;
    }
    public void setActionType(String actionType) 
    {
        this.actionType = actionType;
    }

    public String getActionType() 
    {
        return actionType;
    }
    public void setPaperTitle(String paperTitle) 
    {
        this.paperTitle = paperTitle;
    }

    public String getPaperTitle() 
    {
        return paperTitle;
    }
    public void setJournalName(String journalName) 
    {
        this.journalName = journalName;
    }

    public String getJournalName() 
    {
        return journalName;
    }
    public void setPublicationDate(Date publicationDate) 
    {
        this.publicationDate = publicationDate;
    }

    public Date getPublicationDate() 
    {
        return publicationDate;
    }
    public void setDoi(String doi) 
    {
        this.doi = doi;
    }

    public String getDoi() 
    {
        return doi;
    }
    public void setAuthores(String authores) 
    {
        this.authores = authores;
    }

    public String getAuthores() 
    {
        return authores;
    }
    public void setAbstract(String abstracts)
    {
        this.abstracts = abstracts;
    }

    public String getAbstract()
    {
        return abstracts;
    }
    public void setManuscriptUrl(String manuscriptUrl) 
    {
        this.manuscriptUrl = manuscriptUrl;
    }

    public String getManuscriptUrl() 
    {
        return manuscriptUrl;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setDeletedBy(String deletedBy) 
    {
        this.deletedBy = deletedBy;
    }

    public String getDeletedBy() 
    {
        return deletedBy;
    }
    public void setDeletedAt(Date deletedAt) 
    {
        this.deletedAt = deletedAt;
    }

    public Date getDeletedAt() 
    {
        return deletedAt;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }
    public void setTrackedAt(Date trackedAt) 
    {
        this.trackedAt = trackedAt;
    }

    public Date getTrackedAt() 
    {
        return trackedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trackId", getTrackId())
            .append("paperId", getPaperId())
            .append("actionType", getActionType())
            .append("paperTitle", getPaperTitle())
            .append("journalName", getJournalName())
            .append("publicationDate", getPublicationDate())
            .append("doi", getDoi())
            .append("authores", getAuthores())
            .append("abstracts", getAbstract())
            .append("manuscriptUrl", getManuscriptUrl())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .append("deletedBy", getDeletedBy())
            .append("deletedAt", getDeletedAt())
            .append("isDeleted", getIsDeleted())
            .append("version", getVersion())
            .append("trackedAt", getTrackedAt())
            .toString();
    }
}
